<?php
require_once 'phpmoko/lib/common.php';

require_once 'phpmoko/ui/Widget.php';

class Frame extends Widget
{
	private $src;

	function __construct($src)
	{
		parent::__construct();
		$this->src = $src;
	}

	function toString()
	{
		$str = '<iframe';

		$str .= ' src="' . $this->src . '"';
		$str .= ' id="' . $this->id . '"';

		$str .= '>';

		$str .= '</iframe>';

		return $str;
	}
}
?>